package Request;

import Container.*;

public class SellRequest extends Request {
    private String name;
    private int category;
    private String img;
    private String description;
    private int co;
    private int bo;
    private int duration;
    
    public SellRequest(String name, int category, String img, String description, int co, int bo, int duration) {
        this.name = name;
        this.category = category;
        this.img = img;
        this.description = description;
        this.co = co;
        this.bo = bo;
        this.duration = duration;
    }
    
    public Item getItem() {
        return new Item(name, img, description, super.userID, co, bo, duration, category);
    }
}